package com.lzq.badminton.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("court_template")
public class CourtTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    //球馆id
    private Long arenaId;

    //场地类型 0普通场， 1vip
    private Integer courtType;

    //场地好
    private Integer courtNum;

    //开始时间
    private String timeSlot;

    //价格
    private Double price;

    //场地状态 0可用，1已出售，-1已禁用
    private Integer status;

    private Integer templateStatus;

    //注册时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
